home *** CD-ROM | disk | FTP | other *** search
/ ftp.cs.arizona.edu / ftp.cs.arizona.edu.tar / ftp.cs.arizona.edu / icon / newsgrp / group96a.txt / 000181_icon-group-sender _Fri Aug 9 13:38:25 1996.msg < prev    next >
Internet Message Format  |  1996-09-05  |  2KB

  1. Received: by cheltenham.cs.arizona.edu; Mon, 12 Aug 1996 08:17:20 MST
  2. Date: Fri, 9 Aug 1996 13:38:25 -0600 (CST)
  3. From: Luis M Ibarra <mibarra@galois.dgaesc.unam.mx>
  4. X-Sender: mibarra@laplace
  5. To: "Chris D. Tenaglia" <cdt@post.its.mcw.edu>
  6. Cc: icon-group@cs.arizona.edu
  7. Subject: Re: CGI Tips
  8. In-Reply-To: <Pine.ULT.3.90.960808145431.22371A-100000@post.its.mcw.edu>
  9. Message-Id: <Pine.SOL.3.91.960809132522.18123D-100000@laplace>
  10. Mime-Version: 1.0
  11. Content-Type: TEXT/PLAIN; charset=US-ASCII
  12. Errors-To: icon-group-errors@cs.arizona.edu
  13. Status: O
  14.  
  15. On Thu, 8 Aug 1996, Chris D. Tenaglia wrote:
  16. > program, httphone. It takes a parameter like:
  17. > httphone name=fred
  18. > and returns HTML results to stdout. It also logs it's activity
  19. > to a log file. It works interactively. I borrowed and modified
  20. > some other form to send the query. Netscape shows it :
  21. > http://www.mcw.edu/~cdt/cgi-bin/httphone?name=fred
  22. > and returns one of those 404 messages about URL not found.
  23. > The log file indicates no activity. Am I real close and just
  24.   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  25.  
  26.     The program is not being run by the httpd server.
  27.  
  28. > need a tip? or do I need to dig into a good book or web site
  29. > for the technical details. Thanx in advance!
  30.  
  31.     This problem, is not related to icon directly.
  32.     Maybe, you can found more help on a WWW group.
  33.  
  34.     In your shoes I would check for these problems:
  35.  
  36.     Maybe you need to compile de icon program insted of translating 
  37.     it. I mean, maybe the user id under which the httpd deamon is running 
  38.     can't find or can't run the iconx binary. 
  39.  
  40.     Maybe the HTTPD server, doesn't want to run programs from 
  41.     /~cdt/cgi-bin/, there a clause in the httpd config file, for 
  42.     setting up, which dirs contains cgi programs.
  43.  
  44.     Depending on the method that you are using in the html form, you 
  45.     need to get the query string, not from the comand line 
  46.     parameters (POST method), but from the enviroment variable 
  47.     QUERY_STRING (GET method). [I'm not really sure about the way 
  48.     that each method sends the query string, but is something like 
  49.     what I've tell you].
  50.  
  51.     Hope this helps.
  52.  
  53.     Saludos!
  54.  
  55. --
  56. Luis M. Ibarra <mibarra@galois.dgaesc.unam.mx>
  57. UNAM, DGAE.
  58.  
  59.